package com.example.dameng.service;

import com.example.dameng.entity.*;

import java.util.List;

public interface AdminService {
    int addSubInfo(T_admininfo admininfo);

    int deleteSubInfo(int adminCode);

    int updateSubInfo(T_admininfo admininfo);

    int updateSupplyStatus(T_supplystatus supplyStatus);

    int updateSupplyLog(T_supplystatus supplyStatus);
    List<T_area> GetArea();
    List<AreaList> getAreaInfo();
    List<AreaList> getAreaInfo2(String yesterday,String date);
    List<T_admininfo> getSubInfo();
    List<T_supplystatus> getApplyList();

    AdminReport getMonthReport(String month,String areaName);
}
